package com.gof.example.visitor;

import java.util.ArrayList;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Created by zhiyuan on 2018/5/11 18:15.
 * haiming.fei@tongdun.cn
 */
public class SchoolerList {

    private List<Schooler> schoolers = new ArrayList<>();

    public void addSchooler(Schooler s) {
        schoolers.add(s);
    }

    public void remove(Schooler s) {
        schoolers.remove(s);
    }

    public List<Schooler> getSchoolers() {
        return schoolers;
    }
}
